home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / hypercar / xcmd / xrulesde.sit / Xrules™ Tutorial / card_7209.txt < prev    next >
Encoding:
Text File  |  1991-06-24  |  12.7 KB  |  661 lines

  1. -- card: 7209 from stack: in
  2. -- bmap block id: 7432
  3. -- flags: 4000
  4. -- background id: 7050
  5. -- name: table of contents
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 01
  10. -- high flags: 0000
  11. -- rect: left=4 top=44 right=317 bottom=255
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 21
  16. -- text size: 12
  17. -- style flags: 256
  18. -- line height: 16
  19. -- part name: 
  20.  
  21.  
  22. -- part 2 (field)
  23. -- low flags: 00
  24. -- high flags: 0000
  25. -- rect: left=259 top=44 right=317 bottom=509
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 0
  29. -- font id: 21
  30. -- text size: 12
  31. -- style flags: 256
  32. -- line height: 16
  33. -- part name: 
  34.  
  35.  
  36. -- part 4 (button)
  37. -- low flags: 00
  38. -- high flags: 0000
  39. -- rect: left=261 top=44 right=60 bottom=504
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 0 / 0
  42. -- text alignment: 1
  43. -- font id: 0
  44. -- text size: 12
  45. -- style flags: 0
  46. -- line height: 16
  47. -- part name: 
  48. ----- HyperTalk script -----
  49. on mouseUp
  50.   push this card
  51.   go to card "using the tutorial shell"
  52. end mouseUp
  53.  
  54.  
  55.  
  56.  
  57. -- part 5 (button)
  58. -- low flags: 00
  59. -- high flags: 0000
  60. -- rect: left=261 top=60 right=76 bottom=504
  61. -- title width / last selected line: 0
  62. -- icon id / first selected line: 0 / 0
  63. -- text alignment: 1
  64. -- font id: 0
  65. -- text size: 12
  66. -- style flags: 0
  67. -- line height: 16
  68. -- part name: 
  69. ----- HyperTalk script -----
  70. on mouseUp
  71.   push this card
  72.   go to card "the tutorial shell card"
  73. end mouseUp
  74.  
  75.  
  76.  
  77. -- part 6 (button)
  78. -- low flags: 00
  79. -- high flags: 0000
  80. -- rect: left=261 top=76 right=92 bottom=504
  81. -- title width / last selected line: 0
  82. -- icon id / first selected line: 0 / 0
  83. -- text alignment: 1
  84. -- font id: 0
  85. -- text size: 12
  86. -- style flags: 0
  87. -- line height: 16
  88. -- part name: 
  89. ----- HyperTalk script -----
  90. on mouseUp
  91.   push this card
  92.   go to card "the tutorial shell rule base"
  93. end mouseUp
  94.  
  95.  
  96.  
  97. -- part 8 (button)
  98. -- low flags: 00
  99. -- high flags: 0000
  100. -- rect: left=261 top=92 right=108 bottom=504
  101. -- title width / last selected line: 0
  102. -- icon id / first selected line: 0 / 0
  103. -- text alignment: 1
  104. -- font id: 0
  105. -- text size: 12
  106. -- style flags: 0
  107. -- line height: 16
  108. -- part name: 
  109. ----- HyperTalk script -----
  110. on mouseUp
  111.   push this card
  112.   go to card "rule base overview"
  113. end mouseUp
  114.  
  115.  
  116.  
  117. -- part 9 (button)
  118. -- low flags: 00
  119. -- high flags: 0000
  120. -- rect: left=261 top=108 right=124 bottom=504
  121. -- title width / last selected line: 0
  122. -- icon id / first selected line: 0 / 0
  123. -- text alignment: 1
  124. -- font id: 0
  125. -- text size: 12
  126. -- style flags: 0
  127. -- line height: 16
  128. -- part name: 
  129. ----- HyperTalk script -----
  130. on mouseUp
  131.   push this card
  132.   go to card "global declarations"
  133. end mouseUp
  134.  
  135.  
  136.  
  137. -- part 10 (button)
  138. -- low flags: 00
  139. -- high flags: 0000
  140. -- rect: left=261 top=124 right=140 bottom=504
  141. -- title width / last selected line: 0
  142. -- icon id / first selected line: 0 / 0
  143. -- text alignment: 1
  144. -- font id: 0
  145. -- text size: 12
  146. -- style flags: 0
  147. -- line height: 16
  148. -- part name: 
  149. ----- HyperTalk script -----
  150. on mouseUp
  151.   push this card
  152.   go to card "fact declarations"
  153. end mouseUp
  154.  
  155.  
  156.  
  157. -- part 11 (button)
  158. -- low flags: 00
  159. -- high flags: 0000
  160. -- rect: left=261 top=140 right=156 bottom=504
  161. -- title width / last selected line: 0
  162. -- icon id / first selected line: 0 / 0
  163. -- text alignment: 1
  164. -- font id: 0
  165. -- text size: 12
  166. -- style flags: 0
  167. -- line height: 16
  168. -- part name: 
  169. ----- HyperTalk script -----
  170. on mouseUp
  171.   push this card
  172.   go to card "assignments"
  173. end mouseUp
  174.  
  175.  
  176.  
  177. -- part 12 (button)
  178. -- low flags: 00
  179. -- high flags: 0000
  180. -- rect: left=261 top=156 right=172 bottom=504
  181. -- title width / last selected line: 0
  182. -- icon id / first selected line: 0 / 0
  183. -- text alignment: 1
  184. -- font id: 0
  185. -- text size: 12
  186. -- style flags: 0
  187. -- line height: 16
  188. -- part name: 
  189. ----- HyperTalk script -----
  190. on mouseUp
  191.   push this card
  192.   go to card "rules"
  193. end mouseUp
  194.  
  195.  
  196.  
  197. -- part 13 (button)
  198. -- low flags: 00
  199. -- high flags: 0000
  200. -- rect: left=261 top=172 right=188 bottom=504
  201. -- title width / last selected line: 0
  202. -- icon id / first selected line: 0 / 0
  203. -- text alignment: 1
  204. -- font id: 0
  205. -- text size: 12
  206. -- style flags: 0
  207. -- line height: 16
  208. -- part name: 
  209. ----- HyperTalk script -----
  210. on mouseUp
  211.   push this card
  212.   go to card "2-daemons"
  213. end mouseUp
  214.  
  215.  
  216.  
  217. -- part 14 (button)
  218. -- low flags: 00
  219. -- high flags: 0000
  220. -- rect: left=261 top=188 right=204 bottom=504
  221. -- title width / last selected line: 0
  222. -- icon id / first selected line: 0 / 0
  223. -- text alignment: 1
  224. -- font id: 0
  225. -- text size: 12
  226. -- style flags: 0
  227. -- line height: 16
  228. -- part name: 
  229. ----- HyperTalk script -----
  230. on mouseUp
  231.   push this card
  232.   go to card "conditionals"
  233. end mouseUp
  234.  
  235.  
  236.  
  237. -- part 15 (button)
  238. -- low flags: 00
  239. -- high flags: 0000
  240. -- rect: left=261 top=204 right=220 bottom=504
  241. -- title width / last selected line: 0
  242. -- icon id / first selected line: 0 / 0
  243. -- text alignment: 1
  244. -- font id: 0
  245. -- text size: 12
  246. -- style flags: 0
  247. -- line height: 16
  248. -- part name: 
  249. ----- HyperTalk script -----
  250. on mouseUp
  251.   push this card
  252.   go to card "operands"
  253. end mouseUp
  254.  
  255.  
  256.  
  257. -- part 16 (button)
  258. -- low flags: 00
  259. -- high flags: 0000
  260. -- rect: left=261 top=220 right=236 bottom=504
  261. -- title width / last selected line: 0
  262. -- icon id / first selected line: 0 / 0
  263. -- text alignment: 1
  264. -- font id: 0
  265. -- text size: 12
  266. -- style flags: 0
  267. -- line height: 16
  268. -- part name: 
  269. ----- HyperTalk script -----
  270. on mouseUp
  271.   push this card
  272.   go to card "tutorial shell inf engine"
  273. end mouseUp
  274.  
  275.  
  276.  
  277. -- part 18 (button)
  278. -- low flags: 00
  279. -- high flags: 0000
  280. -- rect: left=261 top=252 right=268 bottom=504
  281. -- title width / last selected line: 0
  282. -- icon id / first selected line: 0 / 0
  283. -- text alignment: 1
  284. -- font id: 0
  285. -- text size: 12
  286. -- style flags: 0
  287. -- line height: 16
  288. -- part name: 
  289. ----- HyperTalk script -----
  290. on mouseUp
  291.   push this card
  292.   go to card "asserting facts"
  293. end mouseUp
  294.  
  295.  
  296.  
  297. -- part 19 (button)
  298. -- low flags: 00
  299. -- high flags: 0000
  300. -- rect: left=261 top=268 right=284 bottom=504
  301. -- title width / last selected line: 0
  302. -- icon id / first selected line: 0 / 0
  303. -- text alignment: 1
  304. -- font id: 0
  305. -- text size: 12
  306. -- style flags: 0
  307. -- line height: 16
  308. -- part name: 
  309. ----- HyperTalk script -----
  310. on mouseUp
  311.   push this card
  312.   go to card "2-forward chaining"
  313. end mouseUp
  314.  
  315.  
  316.  
  317. -- part 21 (button)
  318. -- low flags: 00
  319. -- high flags: 0000
  320. -- rect: left=6 top=44 right=60 bottom=249
  321. -- title width / last selected line: 0
  322. -- icon id / first selected line: 0 / 0
  323. -- text alignment: 1
  324. -- font id: 0
  325. -- text size: 12
  326. -- style flags: 0
  327. -- line height: 16
  328. -- part name: 
  329. ----- HyperTalk script -----
  330. on mouseUp
  331.   push this card
  332.   go to card "the tutorial stack"
  333. end mouseUp
  334.  
  335.  
  336.  
  337. -- part 22 (button)
  338. -- low flags: 00
  339. -- high flags: 0000
  340. -- rect: left=5 top=75 right=91 bottom=248
  341. -- title width / last selected line: 0
  342. -- icon id / first selected line: 0 / 0
  343. -- text alignment: 1
  344. -- font id: 0
  345. -- text size: 12
  346. -- style flags: 0
  347. -- line height: 16
  348. -- part name: 
  349. ----- HyperTalk script -----
  350. on mouseUp
  351.   push this card
  352.   go to card "rule based systems tutorial"
  353. end mouseUp
  354.  
  355.  
  356.  
  357. -- part 24 (button)
  358. -- low flags: 00
  359. -- high flags: 0000
  360. -- rect: left=5 top=91 right=108 bottom=248
  361. -- title width / last selected line: 0
  362. -- icon id / first selected line: 0 / 0
  363. -- text alignment: 1
  364. -- font id: 0
  365. -- text size: 12
  366. -- style flags: 0
  367. -- line height: 16
  368. -- part name: 
  369. ----- HyperTalk script -----
  370. on mouseUp
  371.   push this card
  372.   go to card "the knowledge base"
  373. end mouseUp
  374.  
  375.  
  376.  
  377. -- part 25 (button)
  378. -- low flags: 00
  379. -- high flags: 0000
  380. -- rect: left=5 top=108 right=126 bottom=248
  381. -- title width / last selected line: 0
  382. -- icon id / first selected line: 0 / 0
  383. -- text alignment: 1
  384. -- font id: 0
  385. -- text size: 12
  386. -- style flags: 0
  387. -- line height: 16
  388. -- part name: 
  389. ----- HyperTalk script -----
  390. on mouseUp
  391.   push this card
  392.   go to card "the inference engine"
  393. end mouseUp
  394.  
  395.  
  396.  
  397. -- part 26 (button)
  398. -- low flags: 00
  399. -- high flags: 0000
  400. -- rect: left=5 top=124 right=141 bottom=248
  401. -- title width / last selected line: 0
  402. -- icon id / first selected line: 0 / 0
  403. -- text alignment: 1
  404. -- font id: 0
  405. -- text size: 12
  406. -- style flags: 0
  407. -- line height: 16
  408. -- part name: 
  409. ----- HyperTalk script -----
  410. on mouseUp
  411.   push this card
  412.   go to card "1-forward chaining"
  413. end mouseUp
  414.  
  415.  
  416.  
  417. -- part 27 (button)
  418. -- low flags: 00
  419. -- high flags: 0000
  420. -- rect: left=5 top=141 right=157 bottom=248
  421. -- title width / last selected line: 0
  422. -- icon id / first selected line: 0 / 0
  423. -- text alignment: 1
  424. -- font id: 0
  425. -- text size: 12
  426. -- style flags: 0
  427. -- line height: 16
  428. -- part name: 
  429. ----- HyperTalk script -----
  430. on mouseUp
  431.   push this card
  432.   go to card "1-backward chaining"
  433. end mouseUp
  434.  
  435.  
  436.  
  437. -- part 28 (button)
  438. -- low flags: 00
  439. -- high flags: 0000
  440. -- rect: left=5 top=157 right=173 bottom=248
  441. -- title width / last selected line: 0
  442. -- icon id / first selected line: 0 / 0
  443. -- text alignment: 1
  444. -- font id: 0
  445. -- text size: 12
  446. -- style flags: 0
  447. -- line height: 16
  448. -- part name: 
  449. ----- HyperTalk script -----
  450. on mouseUp
  451.   push this card
  452.   go to card "daemons"
  453. end mouseUp
  454.  
  455.  
  456.  
  457. -- part 29 (button)
  458. -- low flags: 00
  459. -- high flags: 0000
  460. -- rect: left=5 top=173 right=189 bottom=248
  461. -- title width / last selected line: 0
  462. -- icon id / first selected line: 0 / 0
  463. -- text alignment: 1
  464. -- font id: 0
  465. -- text size: 12
  466. -- style flags: 0
  467. -- line height: 16
  468. -- part name: 
  469. ----- HyperTalk script -----
  470. on mouseUp
  471.   push this card
  472.   go to card "user interface"
  473. end mouseUp
  474.  
  475.  
  476.  
  477. -- part 30 (button)
  478. -- low flags: 00
  479. -- high flags: 0000
  480. -- rect: left=5 top=189 right=205 bottom=248
  481. -- title width / last selected line: 0
  482. -- icon id / first selected line: 0 / 0
  483. -- text alignment: 1
  484. -- font id: 0
  485. -- text size: 12
  486. -- style flags: 0
  487. -- line height: 16
  488. -- part name: 
  489. ----- HyperTalk script -----
  490. on mouseUp
  491.   push this card
  492.   go to card "sample rb"
  493. end mouseUp
  494.  
  495.  
  496.  
  497. -- part 31 (button)
  498. -- low flags: 00
  499. -- high flags: 0000
  500. -- rect: left=5 top=205 right=221 bottom=248
  501. -- title width / last selected line: 0
  502. -- icon id / first selected line: 0 / 0
  503. -- text alignment: 1
  504. -- font id: 0
  505. -- text size: 12
  506. -- style flags: 0
  507. -- line height: 16
  508. -- part name: 
  509. ----- HyperTalk script -----
  510. on mouseUp
  511.   push this card
  512.   go to card "definitions"
  513. end mouseUp
  514.  
  515.  
  516.  
  517. -- part 32 (button)
  518. -- low flags: 00
  519. -- high flags: 0000
  520. -- rect: left=5 top=236 right=252 bottom=248
  521. -- title width / last selected line: 0
  522. -- icon id / first selected line: 0 / 0
  523. -- text alignment: 1
  524. -- font id: 0
  525. -- text size: 12
  526. -- style flags: 0
  527. -- line height: 16
  528. -- part name: 
  529. ----- HyperTalk script -----
  530. on mouseUp
  531.   push this card
  532.   go to card "monitor"
  533. end mouseUp
  534.  
  535.  
  536.  
  537. -- part 35 (button)
  538. -- low flags: 00
  539. -- high flags: 0000
  540. -- rect: left=261 top=236 right=253 bottom=504
  541. -- title width / last selected line: 0
  542. -- icon id / first selected line: 0 / 0
  543. -- text alignment: 1
  544. -- font id: 0
  545. -- text size: 12
  546. -- style flags: 0
  547. -- line height: 16
  548. -- part name: 
  549. ----- HyperTalk script -----
  550. on mouseUp
  551.   push this card
  552.   go to card "using globals"
  553. end mouseUp
  554.  
  555.  
  556.  
  557. -- part 36 (button)
  558. -- low flags: 00
  559. -- high flags: 0000
  560. -- rect: left=19 top=316 right=339 bottom=209
  561. -- title width / last selected line: 0
  562. -- icon id / first selected line: 0 / 0
  563. -- text alignment: 1
  564. -- font id: 0
  565. -- text size: 12
  566. -- style flags: 0
  567. -- line height: 16
  568. -- part name: 
  569.  
  570.  
  571. -- part 37 (button)
  572. -- low flags: 00
  573. -- high flags: 0000
  574. -- rect: left=386 top=317 right=340 bottom=465
  575. -- title width / last selected line: 0
  576. -- icon id / first selected line: 0 / 0
  577. -- text alignment: 1
  578. -- font id: 0
  579. -- text size: 12
  580. -- style flags: 0
  581. -- line height: 16
  582. -- part name: 
  583.  
  584.  
  585. -- part 39 (button)
  586. -- low flags: 00
  587. -- high flags: 0000
  588. -- rect: left=261 top=284 right=300 bottom=504
  589. -- title width / last selected line: 0
  590. -- icon id / first selected line: 0 / 0
  591. -- text alignment: 1
  592. -- font id: 0
  593. -- text size: 12
  594. -- style flags: 0
  595. -- line height: 16
  596. -- part name: 
  597. ----- HyperTalk script -----
  598. on mouseUp
  599.   push this card
  600.   go to card "2-backward chaining"
  601. end mouseUp
  602.  
  603.  
  604.  
  605. -- part 40 (button)
  606. -- low flags: 00
  607. -- high flags: 0000
  608. -- rect: left=260 top=299 right=315 bottom=503
  609. -- title width / last selected line: 0
  610. -- icon id / first selected line: 0 / 0
  611. -- text alignment: 1
  612. -- font id: 0
  613. -- text size: 12
  614. -- style flags: 0
  615. -- line height: 16
  616. -- part name: 
  617. ----- HyperTalk script -----
  618. on mouseUp
  619.   push this card
  620.   go to card "processing daemons"
  621. end mouseUp
  622.  
  623.  
  624.  
  625. -- part contents for card part 1
  626. ----- text -----
  627. The Tutorial Stack
  628.  
  629. Rule Based Systems Tutorial
  630.      The Knowledge Base
  631.      The Inference Engine
  632.           Forward Chaining
  633.           Backward Chaining
  634.           Daemons
  635.      User Interface
  636.      Sample Rule Base
  637.      Definitions
  638.  
  639. Tutorial Shell
  640.  
  641.  
  642.  
  643. -- part contents for card part 2
  644. ----- text -----
  645. Using the Tutorial Shell
  646.      The Tutorial Shell Card
  647.      The Tutorial Shell Rule Base
  648.           Rule Base Overview
  649.           Global Declarations
  650.           Fact Declarations
  651.           Assignments
  652.           Rules
  653.           Daemons
  654.           Conditionals
  655.           Operands
  656.      Tutorial Shell Inference Engine
  657.           Using Globals
  658.            Asserting Facts
  659.           Forward Chaining
  660.           Backward Chaining
  661.           Processing Daemons